package com.example.springbootsfzy.mapper;

import com.example.springbootsfzy.domain.CoursewareList;

import java.util.List;

/**
* @author 30658
* @description 针对表【courseware_list】的数据库操作Mapper
* @createDate 2025-01-02 15:11:36
* @Entity com.example.springbootsfzy.domain.CoursewareList
*/
public interface CoursewareListMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(CoursewareList record);

    int insertSelective(CoursewareList record);

    CoursewareList selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(CoursewareList record);

    int updateByPrimaryKey(CoursewareList record);

     List<CoursewareList> selectAll();

     //通过课程id查询课程列表信息
    List<CoursewareList> selectByCourseId(Integer id);


}
